const teamfunctionRoute: AuthRoute.Route = {
  name: 'team',
  path: '/team',
  component: 'basic',
  children: [
    // {
    //   name: 'team_designer',
    //   path: '/team/designer',
    //   component: 'self',
    //   meta: {
    //     title: '设计师管理',
    //     i18nTitle: 'routes.team.designer',
    //     requiresAuth: true
    //   }
    // },
    {
      name: 'team_bonus',
      path: '/team/bonus',
      component: 'self',
      meta: {
        title: '设计师佣金',
        i18nTitle: 'routes.team.bonus',
        requiresAuth: true
      }
    },
    // {
    //   name: 'team_orderNum',
    //   path: '/team/orderNum',
    //   component: 'self',
    //   meta: {
    //     title: '单量设计',
    //     i18nTitle: 'routes.team.order',
    //     requiresAuth: true
    //   }
    // },
    {
      name: 'team_distribute',
      path: '/team/distribute',
      component: 'self',
      meta: {
        title: '分单配置',
        i18nTitle: 'routes.team.distribute',
        requiresAuth: true
      }
    },
    {
      name: 'team_auto',
      path: '/team/auto',
      component: 'self',
      meta: {
        title: '自动分单数据',
        i18nTitle: 'routes.team.auto',
        requiresAuth: true
      }
    },
    {
      name: 'team_wang',
      path: '/team/wang',
      component: 'self',
      meta: {
        title: '旺旺配置',
        i18nTitle: 'routes.team.wangwang',
        requiresAuth: true
      }
    },
    {
      name: 'team_switch',
      path: '/team/switch',
      component: 'self',
      meta: {
        title: '分单开关配置',
        i18nTitle: 'routes.team.switch',
        requiresAuth: true
      }
    }
  ],
  meta: {
    title: '团队管理',
    i18nTitle: 'routes.team._value',
    icon: 'ant-design:team-outlined',
    order: 6
  }
};

export default teamfunctionRoute;
